package com.wen.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.wen.common.Result;
import com.wen.entity.Member;
import com.wen.mapper.MemberMapper;
import com.wen.service.MemberService;
import lombok.AllArgsConstructor;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @Description
 * @Author kxhan
 * @Date 2021/11/17 0017 14:46
 **/
@Service
@AllArgsConstructor
public class MemberServiceImpl extends ServiceImpl<MemberMapper, Member> implements MemberService {

    private final MemberMapper memberMapper;

    @Override
    public Result<?> findCourse() {
        return null;
    }

    @Override
    public List<Member> findMember(Integer coachId, String search) {
        return memberMapper.findMember(coachId,search);
    }
}
